﻿@model List<ScrumTracker.Models.Story>
@foreach (var story in Model)
{ 
    <li class="sprint_story" issue_id="@story.IssueId" style="display: block; padding: 4px;">
        <div style="border-spacing: 0px;">
            <p style="display: table-cell; width: 100%; margin: 0; padding: 0;">
                @story.Description
            </p>
            <span style="display: table-cell; text-align: right; margin-left: 4px;">Priority:&nbsp;@story.Priority&nbsp;Effort:&nbsp;@story.Effort</span></div>
        <div style="margin-top: 4px;">
            <span style="float: left;"><a rel="tasks" href="#">Tasks(@story.Tasks.Count)</a> Attachments(@story.Attachments.Count)</span><span style="float: right;"><a rel="exclude" href="#">Exclude</a> <a rel="edit_story" href="@Url.Action("Edit", "Stories", new { @id = story.IssueId })">Edit</a> <a href="#">Delete</a></span>
            <div style="clear: both;">
            </div>
        </div>
        <div class="tasks" style="display: none;">
            test</div>
    </li>
}
